introduce xzalloc() & Co
authorJan Beulich <jbeulich@suse.com>
Tue, 4 Oct 2011 12:15:26 +0000 (14:15 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 4 Oct 2011 12:15:26 +0000 (14:15 +0200)
commitbeb8eac93c9a38c417db4ae77430af5568e54f1c
tree1b95fb18c531342b3eb88a47c8069bf3e08826a6
parent148ed3108078b354f4c7620c495e300d54ec2724
introduce xzalloc() & Co

Rather than having to match a call to one of the xmalloc() flavors with
a subsequent memset(), introduce a zeroing variant of each of those
flavors.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/common/xmalloc_tlsf.c
xen/include/acpi/platform/aclinux.h
xen/include/xen/xmalloc.h